package com.hbnu.system.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hbnu.system.mapper.AchievementSubjectMapper;
import com.hbnu.system.model.entity.AchievementSubject;
import com.hbnu.system.service.AchievementSubjectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 一级学科信息表(AchievementSubject)表服务实现类
 *
 * @author makejava
 * @since 2025-07-23 15:26:07
 */
@Service("achievementSubjectService")
public class AchievementSubjectServiceImpl extends ServiceImpl<AchievementSubjectMapper, AchievementSubject> implements AchievementSubjectService {

    @Override
    public List<AchievementSubject> selectAll(){
        List<AchievementSubject> list = baseMapper.selectList(Wrappers.lambdaQuery(AchievementSubject.class));
        return list;
    }
}

